Skip to content

Conversation

eofff
Copy link
Contributor

@eofff eofff commented Sep 11, 2025

Description

Add e2e test for VM restore VMOP.

Why do we need it, and what problem does it solve?

What is the expected result?

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: vmop
type: feature
summary: Add e2e test for VM restore VMOP.
impact_level: low

@eofff eofff force-pushed the feat/e2e/add-vmop-restore-test branch 2 times, most recently from 5a103b6 to 328e7ac Compare September 16, 2025 11:13
@eofff eofff added this to the v1.1.0 milestone Sep 19, 2025
@eofff eofff changed the title tmp test(vmop): add e2e test for VM restore VMOP Sep 19, 2025
@eofff eofff force-pushed the feat/e2e/add-vmop-restore-test branch from 87708f1 to 3ba14c7 Compare September 19, 2025 14:46
@eofff eofff marked this pull request as ready for review September 19, 2025 14:47
@eofff eofff marked this pull request as draft September 19, 2025 16:24
@eofff eofff marked this pull request as ready for review September 22, 2025 08:02

Context("Removing resources", func() {
It("Delete resources", func() {
err := helper.FrameworkEntity.Clients.GenericClient().Delete(context.Background(), helper.VMBDA)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some resources for this test are deleted inside the framework in AfterAll, while some you delete explicitly here. How do you decide which should be deleted where? Maybe delete them all in one place?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn’t a cleanup, it’s to verify that vmop will restore these resources :)

@eofff eofff force-pushed the feat/e2e/add-vmop-restore-test branch from 2100e0c to a6925bb Compare September 22, 2025 16:04
@eofff eofff requested a review from Isteb4k September 22, 2025 16:55
@eofff eofff marked this pull request as draft September 23, 2025 07:45
@eofff eofff marked this pull request as ready for review September 23, 2025 08:30
@eofff eofff force-pushed the feat/e2e/add-vmop-restore-test branch 3 times, most recently from d35deba to 94afaca Compare September 25, 2025 09:47
Signed-off-by: Valeriy Khorunzhin <[email protected]>
@eofff eofff force-pushed the feat/e2e/add-vmop-restore-test branch from 94afaca to 8a94e77 Compare September 25, 2025 11:55
Signed-off-by: Valeriy Khorunzhin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants